#ifndef __MAIN_FRAME_H__
#define __MAIN_FRAME_H__

#include "ttcodeMainFrame.h"

class MainFrameMgr: public MainFrame
{
public:
		MainFrameMgr( wxWindow* parent)
		:MainFrame(parent)
		{
		}
		~MainFrameMgr()
		{}
		wxWindow *getManagedWin()
		{ 
			return dynamic_cast<wxWindow*>(this);
		}
protected:
		virtual void m_menuItemNewFileOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemOpenFileOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemReloadFileOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemSaveOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemSaveAsOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemSaveAllFilesOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemCloseOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemCloseAllOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemExitOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemCreateNewWorkspaceOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemSwitchWorkspaceOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemCMakeOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemBuildNativeOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemBuildPortableOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemBuildByteCodeOnlyOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemCleanAllOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemCleanCurrentOnMenuSelection( wxCommandEvent& event );
		virtual void m_menuItemBuildCancelOnMenuSelection( wxCommandEvent& event );
};

#endif // __MAIN_FRAME_H__